package com.chushouya.order.service.api;


import com.chushouya.order.dto.api.clerk.*;
import com.general.framework.core.schema.PageResult;
import com.chushouya.order.dto.admin.order.OrderLogQuery;
import com.chushouya.order.dto.admin.order.OrderLogicStatus;
import com.chushouya.order.dto.admin.orderlog.OrderLogDTO;
//=====order.dto.api.clerk.*;
import com.chushouya.order.dto.api.clerk.*;

import java.util.List;

/**
 * 业务员订单查询业务
 */
public interface ClerkOrderApiService {

    ClerkOrderTodoCountDTO orderTodoCount(Long clerkId);

    List<ClerkOrderDTO> todoOrderList(Long clerkId, Integer todoOrderType);

    PageResult<ClerkOrderDTO> orderList(ClerkOrderQuery query);

    PageResult<ClerkOrderDTO> completeOrderList(ClerkOrderQuery query);

    ClerkOrderDetailDTO orderDetail(Long clerkId, Long orderId);

    List<OrderLogDTO> orderLogList(OrderLogQuery query);

    List<OrderLogicStatus> orderStatusAndCount(Long clerkId);

    List<OrderLogicStatus> completeOrderStatusAndCount(Long clerkId);

    Boolean clerkOrderStatusChange(ClerkOrderStatusDTO dto);

}
